{template "header.html"}

<div class="right-card-box">
    <div class="well well2">
        调试变量使用方法：
        dr_debug('文件名称', $传入变量)
    </div>
    <form class="form-horizontal" role="form" id="myform">
        {dr_form_hidden()}
        <div class="table-scrollable">
            <table class="table table-striped table-bordered table-hover  dataTable">
                <thead>
                <tr class="heading">
                    <th class="myselect">

                    </th>
                    <th width="170">{dr_lang('时间')}</th>
                    <th>{dr_lang('文件')}</th>
                </tr>
                </thead>
                <tbody>
                {loop $list $t}
                {if $t != 'index.html'}
                <?php $time = dr_date(filectime(WRITEPATH.'debuglog/'.$t));?>
                <tr class="odd gradeX">
                    <td class="myselect">
                        <label class="mt-table mt-checkbox mt-checkbox-single mt-checkbox-outline">
                            <input type="checkbox" class="checkboxes" name="ids[]" value="{$t}" />
                            <span></span>
                        </label>
                    </td>
                    <td>{$time}</td>
                    <td>
                        <a onclick="dr_show_file_code('{dr_lang('查看文件')}', '{dr_url('dever/debug/show_index', ['file'=>dr_rp($t, '.txt', '')])}')">{$t}</a>
                    </td>
                </tr>
                {/if}
                {/loop}
                </tbody>
            </table>
        </div>
        <div class="row fc-list-footer table-checkable ">
            <div class="col-md-5 fc-list-select">
                <label class="mt-table mt-checkbox mt-checkbox-single mt-checkbox-outline">
                    <input type="checkbox" class="group-checkable" data-set=".checkboxes" />
                    <span></span>
                </label>
                <button type="button" onclick="dr_ajax_option('{dr_url('dever/debug/del')}', '{dr_lang('你确定要删除它们吗？')}', 1)" class="btn red btn-sm"> <i class="fa fa-trash"></i> 删除</button>

            </div>
        </div>


    </form>
</div>
{template "footer.html"}